﻿<UserControl x:Class="TotalSystems.Main.Views.MainPage" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d" FlowDirection="RightToLeft" FontFamily="Tahoma"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="2000" d:DesignHeight="1500"
           xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
                 xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core">

    <Grid x:Name="LayoutRoot" Background="#09283BFF" >
        <StackPanel>
            <telerik:RadExpander Height="120" Name="radExpander_Header" VerticalAlignment="Top" ExpandDirection="Down" IsExpanded="True" Padding="0" Opacity="1" Background="Transparent">
                <Grid Name="Grid_Header" Width="2000" Height="96" Margin="0,0,0,0" VerticalAlignment="Top">
                    <my:TsClock Name="Clck_Clock1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="80"  Height="75" Margin="10,0,0,0" />
                </Grid>
            </telerik:RadExpander>

            <Grid  Name="BaseGrid" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="275" />
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <telerik:RadExpander Grid.Column="0" Name="radExpander_Panel"   VerticalContentAlignment="Top"  ExpandDirection="Right" Header="" IsExpanded="True"  Margin="0,0,0,0">
                    <telerik:RadPanelBar HorizontalAlignment="Right" Name="radPanelBar_Panel"  Width="230" VerticalAlignment="Stretch" Cursor="Hand" BorderBrush="#FF034DC4" BorderThickness="1"  >
                        <telerik:RadPanelBarItem IsExpanded="True" Header="اطلاعات پایه" FontWeight="Bold">
                            <telerik:RadPanelBarItem Header="تعریف های پایه" FontWeight="Normal" Command="{Binding BaseDefinitionsCommand}"/>
                            <telerik:RadPanelBarItem Header="درجه بندی اهمیت کالا" FontWeight="Normal" Command="{Binding DegreeImportantStuffCommand}"/>
                            <telerik:RadPanelBarItem Header="گروه بندی کالا" FontWeight="Normal" Command="{Binding RegimentationStuffCommand}"/>
                            <telerik:RadPanelBarItem Header="مدیریت انبار" FontWeight="Normal" Command="{Binding StoreCommand}"/>
                            <telerik:RadPanelBarItem Header="انواع انبار" FontWeight="Normal" Command="{Binding TypeStoreCommand}"/>
                            <telerik:RadPanelBarItem Header="واحد کالا" FontWeight="Normal" Command="{Binding UnitStuffCommand}"/>
                        </telerik:RadPanelBarItem>
                    </telerik:RadPanelBar>
                </telerik:RadExpander>
                <telerik:RadTabControl Grid.Column="1"  HorizontalAlignment="Stretch" Name="mainTabControl" Height="Auto"  VerticalAlignment="Top" >

                </telerik:RadTabControl>
            </Grid>
        </StackPanel>
    </Grid>
</UserControl>
